using System;
using System.IO;
using System.Diagnostics;
using System.Reflection;
using System.Text;

namespace PIM.Utilities.Logging
{
    /// <summary>
    /// Summary description for QSLogMessage.
    /// </summary>
    public class QSLogMessage
    {

        string sApplication;
        QSLogger.Level _Level;
        string sDescription;
        string sModule;
        string sMessage;
        ExceptionType sType;
        string sCreationdate;
        bool sActionRequired;
        string sActionSeverity;
        int sActionOwner;
        int sUserID;
        int sUserType;
        string sObjectName;
        string sObjectID;
        string sInfo1;
        string sInfo2;

        public enum ExceptionType
        {
            ServiceException = 0,
            BusinessException = 1,
        };

        public string Application
        {
            get { return sApplication; }
            set { sApplication = value; }
        }
        public QSLogger.Level Level
        {
            get { return _Level; }
            set { _Level = value; }
        }
        public string Description
        {
            get { return sDescription; }
            set { sDescription = value; }
        }
        public string Module
        {
            get { return sModule; }
            set { sModule = value; }
        }
        public string Message
        {
            get { return sMessage; }
            set { sMessage = value; }
        }
        public ExceptionType Type
        {
            get { return sType; }
            set { sType = value; }
        }
        public string Creationdate
        {
            get { return sCreationdate; }
            set { sCreationdate = value; }
        }
        public bool ActionRequired
        {
            get { return sActionRequired; }
            set { sActionRequired = value; }
        }
        public string ActionSeverity
        {
            get { return sActionSeverity; }
            set { sActionSeverity = value; }
        }
        public int ActionOwner
        {
            get { return sActionOwner; }
            set { sActionOwner = value; }
        }
        public int UserID
        {
            get { return sUserID; }
            set { sUserID = value; }
        }
        public int UserType
        {
            get { return sUserType; }
            set { sUserType = value; }
        }
        public string ObjectName
        {
            get { return sObjectName; }
            set { sObjectName = value; }
        }
        public string ObjectID
        {
            get { return sObjectID; }
            set { sObjectID = value; }
        }
        public string Info1
        {
            get { return sInfo1; }
            set { sInfo1 = value; }
        }
        public string Info2
        {
            get { return sInfo2; }
            set { sInfo2 = value; }
        }
        public QSLogMessage()
        {

        }
    }
}
